Learn R Programming

irt (version 0.2.9)

[[,Response_set,numeric,missing-method: Subset Response_set objects

Description

Subset Response_set objects

Usage

# S4 method for Response_set,numeric,missing
[[(x, i, j, ...)

Value

A Response-class object.

Arguments

x

A Response_set-class object from which to extract Response(s) or in which to replace element(s).

i

indices specifying elements to extract or replace.

j

This will not be used in Response_set-class objects.

...

Additional parameters to be passed to the function.

Author

Emre Gonulates

Examples

Run this code
resp_set <- sim_resp(ip = generate_ip(n = 12), theta = rnorm(10),
                     output = "response_set")
resp_set[[2]]

Run the code above in your browser using DataLab